<HTML
><HEAD
><TITLE
>GrIntersectRegion()</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.61
"><LINK
REL="HOME"
TITLE="Nano-X Library API"
HREF="index.html"><LINK
REL="UP"
TITLE="Nano-X Function Reference"
HREF="ch2.html"><LINK
REL="PREVIOUS"
TITLE="GrInjectPointerEvent()"
HREF="nxapi_GrInjectPointerEvent.html"><LINK
REL="NEXT"
TITLE="GrKillWindow()"
HREF="nxapi_GrKillWindow.html"></HEAD
><BODY
CLASS="REFENTRY"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Nano-X Library API</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="nxapi_GrInjectPointerEvent.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="nxapi_GrKillWindow.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="NXAPI.GRINTERSECTREGION"
><TT
CLASS="FUNCTION"
>GrIntersectRegion()</TT
></A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN4041"
></A
><H2
>Name</H2
><TT
CLASS="FUNCTION"
>GrIntersectRegion()</TT
>&nbsp;--&nbsp;Form a region from the intersection of two regions</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN4045"
></A
><H2
>Synopsis</H2
><DIV
CLASS="FUNCSYNOPSIS"
><A
NAME="AEN4046"
></A
><P
></P
><P
><CODE
><CODE
CLASS="FUNCDEF"
>  void               <B
CLASS="FSFUNC"
>  GrIntersectRegion     </B
></CODE
>( GR_REGION_ID       <VAR
CLASS="PDPARAM"
> dst_rgn               </VAR
>,  GR_REGION_ID       <VAR
CLASS="PDPARAM"
> src_rgn1              </VAR
>,  GR_REGION_ID       <VAR
CLASS="PDPARAM"
> src_rgn2              </VAR
>);</CODE
></P
><P
></P
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN4056"
></A
><H2
>Description</H2
><P
>    This function creates a region from the two specified source
    regions and places the resulting region in the destination
    region. The resulting region is the intersection of the two
    source regions.
    </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN4059"
></A
><H2
>Parameters</H2
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN4061"
></A
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><THEAD
><TR
><TH
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>Type</TH
><TH
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>Name</TH
><TH
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Description</TH
></TR
></THEAD
><TBODY
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_REGION_ID.html"
><SPAN
CLASS="TYPE"
>GR_REGION_ID</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>dst_rgn</I
></TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The ID of the destination region.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_REGION_ID.html"
><SPAN
CLASS="TYPE"
>GR_REGION_ID</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>src_rgn1</I
></TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The ID of the the first of two source regions.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_REGION_ID.html"
><SPAN
CLASS="TYPE"
>GR_REGION_ID</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>src_rgn2</I
></TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The ID of the second of two source regions.</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN4093"
></A
><H2
>See Also</H2
><P
>      <A
HREF="nxapi_GrUnionRegion.html"
>            <TT
CLASS="FUNCTION"
>GrUnionRegion()</TT
></A
>, 
      <A
HREF="nxapi_GrSubtractRegion.html"
>            <TT
CLASS="FUNCTION"
>GrSubtractRegion()</TT
></A
>, 
      <A
HREF="nxapi_GrXorRegion.html"
>            <TT
CLASS="FUNCTION"
>GrXorRegion()</TT
></A
>, 
      <A
HREF="nxapi_GrDestroyRegion.html"
>            <TT
CLASS="FUNCTION"
>GrDestroyRegion()</TT
></A
>, 
    </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="nxapi_GrInjectPointerEvent.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="nxapi_GrKillWindow.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><TT
CLASS="FUNCTION"
>GrInjectPointerEvent()</TT
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ch2.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><TT
CLASS="FUNCTION"
>GrKillWindow()</TT
></TD
></TR
></TABLE
></DIV
></BODY
></HTML
>